package org.dbstar.scheduler.actions;

import org.dbstar.scheduler.beans.OperateType;
import org.dbstar.scheduler.concurrent.MultiExecutorService;


/**
 * 所有线程池列表
 * 
 * @author 代波
 * @since 1.0.0
 * @version 1.0.0
 * @date 2012-6-26
 */
public class PoolsAction extends ActionSupport {
	private MultiExecutorService executorService;

	public MultiExecutorService getExecutorService() {
		return executorService;
	}

	public void setExecutorService(MultiExecutorService executorService) {
		this.executorService = executorService;
	}

	@Override
	public String execute() throws Exception {
		operate(OperateType.pools_list, "");
		return SUCCESS;
	}
}
